package accesscontrol;
import funbase.BaseType;
public class ArrayList<E> extends java.util.ArrayList<E> {
	private String information;
	private static int m;
	private int n;	
	static{m=0;System.out.println("the static statement running");}
	{n = 0;m=m;System.out.println("the non-static statement running");}
	public ArrayList(){
		System.out.println("It is my own arraylist the construction function running ");
		System.out.println("m = "+m);
		
	}
	public void getTheValue(){
		System.out.println("m="+m+" n="+n);
	}
	public void gainValue(){
		m++;
		n++;
	} 
	public String toString(){
		return "It is a String ";
	}
	public String getString2(){
		return super.toString();
	}
	public String getString1(){
		return this.toString();
	}
}
